local _M = {_VERSION = '0.01'}
function _M.split(str, reps)
    local resultStrList = {}
    string.gsub(
        str,
        '[^' .. reps .. ']+',
        function(w)
            table.insert(resultStrList, w)
        end
    )
    return resultStrList
end

function _M.has_value(tab, val)
    for index, value in ipairs(tab) do
        if value == val then
            return true
        end
    end
    return false
end
return _M